import http from '@/utils/http'

const CustExamineManager = {

    /**
     * 客户审核管理模块
     * @param {*} params
     * @returns
     */
    //新建客户待审列表
    async getCustAuditList(params) {
        let result = await http({
            url: `${process.env.VUE_APP_CTX_CUST}/getCustAuditList`,
            params: params,
            method: 'get'
        })
        return result;
    },
    // 新建客户-审核历史
    async getCustAuditList(params) {
        let result = await http({
            url: `${process.env.VUE_APP_CTX_CUST}/getCustAuditList`,
            params: params,
            method: 'GET'
        })
        return result;

    },
    // 新建客户-审核保存
    async saveCustAuditNew(params) {
        let result = await http({
            url: `${process.env.VUE_APP_CTX_CUST}/saveCustAuditNew`,
            data: params,
            method: 'POST'
        })
        return result;

    },
    // 身份证基本信息-初始化
    async getCustCommon(params) {
        let result = await http({
            url: `${process.env.VUE_APP_CTX_CUST}/getCustCommon`,
            params: params,
            method: 'GET'
        })
        return result;

    },
    // 客户视图-身份证基本信息-初始化
    async getPartyNews(params) {
        let result = await http({
            url: `${process.env.VUE_APP_CTX_CUST}/getPartyNews`,
            params: params,
            method: 'GET'
        })
        return result;

    },
    // 客户信息修改审核-审核保存
    async saveCustAuditUpd(params) {
        let result = await http({
            url: `${process.env.VUE_APP_CTX_CUST}/saveCustAuditUpd`,
            data: params,
            method: 'POST'
        })
        return result;

    },
    // 客户信息修改审核-审核保存
    async getCustDetail(params) {
        let result = await http({
            url: `${process.env.VUE_APP_CTX_CUST}/getCustDetail`,
            params: params,
            method: 'GET'
        })
        return result;

    },




}
export default CustExamineManager
